projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de50012
)
inspector: Replace a use of gtk_button_set_focus_on_click
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 3 Nov 2015 12:42:05 +0000
(07:42 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 3 Nov 2015 12:44:17 +0000
(07:44 -0500)
It is deprecated now.
gtk/inspector/strv-editor.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/strv-editor.c
b/gtk/inspector/strv-editor.c
index c35ffac24c880c8a408cd5018e45ba81f0eb3f63..5cbe13e90da837a274d52f520fcf684320633881 100644
(file)
--- a/
gtk/inspector/strv-editor.c
+++ b/
gtk/inspector/strv-editor.c
@@
-96,7
+96,7
@@
gtk_inspector_strv_editor_init (GtkInspectorStrvEditor *editor)
gtk_widget_show (editor->box);
editor->button = gtk_button_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_MENU);
- gtk_
button_set_focus_on_click (GTK_BUTTON (editor->button)
, FALSE);
+ gtk_
widget_set_focus_on_click (editor->button
, FALSE);
gtk_widget_set_halign (editor->button, GTK_ALIGN_END);
gtk_widget_show (editor->button);
g_signal_connect (editor->button, "clicked", G_CALLBACK (add_cb), editor);